class TeleBook
{
	String realname;
	String mbphone;
	String telephone;
	String email;
	String address;
	String postcode;
	String flag;  //1:林形辉  2：彭静
	
	String toString() { realname }
	
	static constraints = 
	{
		realname(maxSize:50, blank:false)
		mbphone(maxSize:15, nullable:true)
		telephone(maxSize:30, nullable:true)
		email(maxSize:50, nullable:true)
		address(maxSize:100,nullable:true)
		postcode(maxSize:10,nullable:true)
		flag(maxSize:1, blank:false)
	}
}